home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / ip / manage / snmp / cmu-snmp1.0 / man / snmpget.1 < prev    next >
Encoding:
Text File  |  1989-09-19  |  2.6 KB  |  67 lines

  1. .\* /***********************************************************
  2. .\"     Copyright 1988, 1989 by Carnegie Mellon University
  3. .\" 
  4. .\"                       All Rights Reserved
  5. .\" 
  6. .\" Permission to use, copy, modify, and distribute this software and its 
  7. .\" documentation for any purpose and without fee is hereby granted, 
  8. .\" provided that the above copyright notice appear in all copies and that
  9. .\" both that copyright notice and this permission notice appear in 
  10. .\" supporting documentation, and that the name of CMU not be
  11. .\" used in advertising or publicity pertaining to distribution of the
  12. .\" software without specific, written prior permission.  
  13. .\" 
  14. .\" CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  15. .\" ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  16. .\" CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  17. .\" ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  18. .\" WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  19. .\" ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  20. .\" SOFTWARE.
  21. .\" ******************************************************************/
  22. .TH SNMPGET 1 "17 September 1989"
  23. .UC 4
  24. .SH NAME
  25. snmpget - communicates with a network entity using SNMP GET Requests.
  26. .SH SYNOPSIS
  27. snmpget host community variable-name [variable-name]...
  28. .SH DESCRIPTION
  29. Snmpget is an SNMP application that uses the GET Request to query for
  30. information on a network entity.  One or more fully qualified object
  31. identifiers may be given as arguments on the command line.
  32. Each variable name is given in the format specified in
  33. .IR variables (5).
  34. .PP
  35. The
  36. .I host
  37. specification may be either a host name or an internet address
  38. specified in "dot notation"
  39. .PP
  40. The
  41. .I community
  42. specifies the community name for the transaction with the remote system.
  43. .PP
  44. For example
  45. .PP
  46. .I snmpget netdev-kbox.cc.cmu.edu public system.sysdescr.0 system.sysUpTime.0
  47. .PP
  48. will retrieve the variables sysDescr.0 and sysUpTime.0:
  49. .PP
  50. .I Name: system.sysDescr.0
  51. .br
  52. .I OCTET STRING- (ascii):    Kinetics FastPath2
  53. .PP
  54. .I Name: system.sysUpTime.0
  55. .br
  56. .I Timeticks: (2270351) 6:18:23
  57. .PP
  58. If the network entity has an error processing the request packet, an error
  59. packet will be returned and a message will be shown, helping to pinpoint in what
  60. way the request was malformed.  If there were other variables in the request,
  61. the request will be resent without the bad variable.
  62. .PP
  63. Adding a "-d" to the argument list will cause the application to dump input and output packets.
  64. .PP
  65. .SH "SEE ALSO"
  66. variables(5), RFC 1065, RFC 1066, RFC 1067
  67.